package com.sharemarking.system.dto.receipt;

/**
 * @author dxy
 */
public class ReceiptListDto {
    private Integer id;
    private Integer memberId;
    private Integer amount;
    private Integer receiptHeadId;
    private Integer type;
    private Integer state;
    private String name;
    private String addresseeEmail;
    private String addresseeMobile;
    private String taxNumber;

    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    public Double getAmount() {
        if (amount!=null){
            return amount * 0.01;
        }
        return null;
    }

    public void setAmount(Integer amount) {
        this.amount = amount;
    }

    public Integer getReceiptHeadId() {
        return receiptHeadId;
    }

    public void setReceiptHeadId(Integer receiptHeadId) {
        this.receiptHeadId = receiptHeadId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAddresseeEmail() {
        return addresseeEmail;
    }

    public void setAddresseeEmail(String addresseeEmail) {
        this.addresseeEmail = addresseeEmail;
    }

    public String getAddresseeMobile() {
        return addresseeMobile;
    }

    public void setAddresseeMobile(String addresseeMobile) {
        this.addresseeMobile = addresseeMobile;
    }

    public String getTaxNumber() {
        return taxNumber;
    }

    public void setTaxNumber(String taxNumber) {
        this.taxNumber = taxNumber;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}
